API Help
Eplan.EplApi.DataModel Namespace / MergedFunction Class / Create Method / Create(IEnumerable<IFunctionBase>) Method
Collection of IFunctionBase object from which merged function will be created.

Create(IEnumerable<IFunctionBase>) Method
Initializes the MergedFunction object to cover the functions passed in the array parameter. If the functions cannot be merged together into one merged function an exception is thrown. Functions, generally, cannot be merged together if they belong to different devices or they are of different categories. To be merged, they have to represent the same functional part of the device.
Syntax

Parameters

functions
Collection of IFunctionBase object from which merged function will be created.
Exceptions
ExceptionDescription
Thrown when parameter is null, emty.
Thrown when some function is not valid.
Thrown when the functions can not be merged.
Thrown when the merged function has already been created.
Remarks
Functions with empty names are unmergable. Only functions with specific placement types can be merged. Placement types of mergable functions are returned by DocumentTypeManager.GetFctDocTypesToMerge() method.
See Also